

#import "UIViewController+SYNavigationExtion.h"
#import <objc/runtime.h>

@implementation UIViewController (SYNavigationExtion)


- (BOOL)drj_fullScreenPopGestureEnabled
{
    return [objc_getAssociatedObject(self, _cmd) boolValue];
}



- (void)setDrj_fullScreenPopGestureEnabled:(BOOL)fullScreenPopGestureEnabled
{
    objc_setAssociatedObject(self, @selector(drj_fullScreenPopGestureEnabled), @(fullScreenPopGestureEnabled), OBJC_ASSOCIATION_RETAIN);
}

- (YDBaseNavigationController *)drj_navigationController
{
    return objc_getAssociatedObject(self, _cmd);
}

- (void)setDrj_navigationController:(YDBaseNavigationController *)navigationController
{
    objc_setAssociatedObject(self, @selector(drj_navigationController), navigationController, OBJC_ASSOCIATION_ASSIGN);
}

@end
